/**
 * Project Name:xyg
 * File Name:UserRepository.java
 * Package Name:com.wyl.rbac
 * Date:2016年5月5日上午10:59:53
 *
*/

package com.wyl.rbac.repository;

import org.springframework.dao.DataAccessException;
import org.springframework.data.repository.Repository;

import com.wyl.rbac.model.User;

/**
 * ClassName:UserRepository <br/>
 * Function: TODO ADD FUNCTION. <br/>
 * Reason:	 TODO ADD REASON. <br/>
 * Date:     2016年5月5日 上午10:59:53 <br/>
 * @author   sunkxu
 * @version  
 * @since    JDK 1.8
 * @see 	 
 */
public interface UserRepository extends Repository<User, Long> {	
	User findByUsername(String username) throws DataAccessException;
	void save(User user) throws DataAccessException;
}

